package com.zhangj.dubbo.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.zhangj.dubbo.service.HelloService;
import org.springframework.transaction.annotation.Transactional;

/**
 * @ClassName HelloServiceImpl
 * @Description
 * @Author zhangjie
 * @Date 2021/12/25 16:17
 * @Version 1.0
 */

@Service(interfaceClass = HelloService.class)
@Transactional
public class HelloServiceImpl implements HelloService {

    @Override
    public String sayHello(String name) {
        return "hello" + name;
    }

}
